<template>
  <div id="app">
    <router-view/>
    <FooterGuide v-show="$route.meta.footerShow"/>
  </div>
</template>

<script>
  import FooterGuide from 'components/FooterGuide/FooterGuide'
  
  export default {
    name: 'App',
    data(){
      return{
        seller:[]
      }
    },
    components:{
      FooterGuide
    },
    mounted () {
      this.$store.dispatch('getAddress')
      
      //自动登录：
      this.$store.dispatch('getUser')
    }
  }
</script>

<style lang="stylus" rel="stylesheet/stylus" scoped>
  #app
    width 100%
    height 100%
    background #f5f5f5
    position relative
</style>
